﻿using System.Windows;

namespace SamizdatSearch.ConditionTree
{
  public static class DataObjectExtensions
  {
    public static T GetData<T>(this IDataObject obj)
    {
      return (T)obj.GetData(typeof(T));
    }
  }
}